public class University{
    void enterRule(double maths, double english, double chinese){
        double total = maths + english + chinese;
        if(total >= 200) System.out.println(total + "分达到大学录取线");
        else System.out.println(total + "分未达到大学录取线");
    }
}